package com.mysoft.gfyx.common.message;

import com.mingyuanyun.sdk.mip.annotation.MipAuth;
import com.mingyuanyun.sdk.mip.client.IHttpApi;
import com.mingyuanyun.sdk.mip.enm.MipAuthType;
import com.mysoft.gfyx.common.message.dto.CommonSendPushOrderRequestDto;
import com.mysoft.gfyx.common.message.dto.YcgApiBaseRespondDto;
import feign.Headers;
import feign.RequestLine;

@MipAuth(MipAuthType.OAUTH2)
public interface MipService extends IHttpApi {

    @RequestLine("POST /v1/message/send-push-order")
    @Headers("Content-Type: application/json")
    YcgApiBaseRespondDto sendPushOrder(CommonSendPushOrderRequestDto dto);
}